
local dasheng=fk.CreateSkill {
    name = "study__dasheng",
    tags={Skill.Compulsory,Skill.Permanent},
  }

Fk:loadTranslationTable{
    ["study__dasheng"] = "大圣",
    [":study__dasheng"] = "锁定技，持恒技。摸牌阶段，你额外摸X张牌。（X为你的体力上限）。你不能被托管",
}


--技能效果
--[[

--]]
dasheng:addEffect(fk.DrawNCards, 
{
    can_trigger = function(self, event, target, player, data)
        return player:hasSkill("study__dasheng") and target==player
    end,
    on_cost=function(self,event,target,player,data)
        return true
    end,
    on_use = function(self, event, target, player, data)
        local hp=player.maxHp
        data.n = data.n + hp
    end,
})

dasheng:addAcquireEffect(function(self, player, is_start)
    player.room:setPlayerMark(player, MarkEnum.TrustProhibited , 1)
end)

dasheng:addLoseEffect(function(self, player, is_death)
    player.room:setPlayerMark(player, MarkEnum.TrustProhibited, 0)
end)

  
--{1,2,3，}
return dasheng